/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Kanak
 */
public class BankInformation {
     

  
    public String getfirstname() {
        return firstname;
        }
   
     public String getlastname() {
        return lastname;
        }
     
         public String getbankaccount() {
        return bankaccount;
        }

         public String getroutingnumber() {
        return routingnumber;
        }

         




   // private String cardnumber;
    //private String expirationDate;
    //private int securityCode;
    private String firstname;
    //private String cardtype;
    private String lastname;
    private String bankaccount;
    private String routingnumber;
  //  private String paypalpassword;
    //private String paypalaccount;




 public BankInformation(String firstname,String lastname,String routingnumber,String bankaccount)

    {
       // this.cardnumber = cardnumber;
        //this.expirationDate = expirationdate;
        //this.securityCode = Integer.parseInt(securityCode);
        //this.cardtype = cardtype;
        this.firstname = firstname;
        this.lastname=lastname;
       // this.paypalaccount=paypalaccount;
        //this.paypalpassword=paypalpassword;
        this.routingnumber=routingnumber;
        this.bankaccount=bankaccount;

        ConnectToDatabase connect = new ConnectToDatabase();
        connect.addBankPaymentInfo(this);
}
}
